package com.cqfae.deploycentral.app.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by YANGHENG940 on 2017/8/17.
 */
@Component
@ConfigurationProperties(prefix = "deploy")
public class DeployInfo {

    private String action;

    private String continual;

    private String rollback;

    private String stopApp;

    private String startApp;

    private String executeTimeLimit;

    public String getStopApp() {
        return stopApp;
    }

    public void setStopApp(String stopApp) {
        this.stopApp = stopApp;
    }

    public String getStartApp() {
        return startApp;
    }

    public void setStartApp(String startApp) {
        this.startApp = startApp;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getContinual() {
        return continual;
    }

    public void setContinual(String continual) {
        this.continual = continual;
    }

    public String getRollback() {
        return rollback;
    }

    public void setRollback(String rollback) {
        this.rollback = rollback;
    }

    public String getExecuteTimeLimit() {
        return executeTimeLimit;
    }

    public void setExecuteTimeLimit(String executeTimeLimit) {
        this.executeTimeLimit = executeTimeLimit;
    }
}
